package org.iipg.common.data.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * @author zhuhy163@163.com
 * @Description
 * @date 2021/7/16 上午8:33
 */
@Data
@TableName("Domaininfo")
public class DomainInfo {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @JSONField(serializeUsing = ToStringSerializer.class)
    @TableField("DomainId")
    private Long id; // 自增序号

    @TableField("DeveloperName")
    private String developerName;

    @TableField("DomainName")
    private String domainName;
}
